package com.oa.desktop.news.news_label.service;

import com.oa.commons.beans.NewsLabel;
import com.oa.commons.ov.Page;

import java.util.List;

public interface INewsLabelService {
    Page<NewsLabel> findCurrPage(int pageNum);

    List<NewsLabel> findNewsLabel();

    public void deleteNewsLabel(int id);

    public void addNewsLabel(NewsLabel newsLabel);

    List<NewsLabel> findNewsLabelById(int id);

    public void updateNewsLabel(NewsLabel newsLabel,int id);

    Page<NewsLabel> findCurrPageChildren(int id, int pageNum);
}
